$bgcolor:#f6f6f6;
$bgfs:12px;
$ffy:-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
.w {
    width: 1200px;
    margin: 0px auto;
}

a {
    color: black;
}

body {
    font-size: $bgfs;
    // background: $bgcolor
}


/* 导航栏 */

.nav {
    background: #dbdbdb;
    .nav_wrap {
        height: 30px;
        line-height: 30px;
    }
}


/* 选择国家站点 */

.changesite {
    position: relative;
    color: #333;
    width: 60px;
    vertical-align: middle;
    dt {
        text-align: center;
        &::after {
            content: "";
            display: inline-block;
            margin-left: 3px;
            width: 9px;
            height: 5px;
            background: url(../../images/indexspriter.png) no-repeat;
            background-position: -1112px -205px;
            vertical-align: middle;
        }
        &:hover {
            background: white;
        }
    }
    dd::after {
        content: "";
        position: absolute;
        top: 7px;
        right: 0;
        width: 1px;
        height: 16px;
        background-color: #9d9d9d;
    }
}


/* 选择国家货币 */

.changecurrency {
    width: 140px;
    color: #333;
    vertical-align: middle;
    dt {
        a {
            padding-left: 10px;
        }
        &::after {
            content: "";
            display: inline-block;
            margin-left: 3px;
            width: 9px;
            height: 5px;
            background: url(../../images/indexspriter.png) no-repeat -1112px -205px;
            vertical-align: middle;
        }
        &::before {
            content: "";
            margin-left: 18px;
            display: inline-block;
            height: 11px;
            width: 16px;
            background: url(../../images/nationalflags.png)no-repeat 0px 0px;
        }
        &:hover {
            background: white;
        }
    }
}


/* 右侧信息 */

.nav_wrap_r>li a {
    padding-left: 10px;
    padding-right: 10px;
}


/* 头部搜索栏 */

.top_search {
    background: white;
    position: sticky;
    top: 0px;
    left: 0px;
    z-index: 2;
    .top_search_wrap {
        height: 100px;
        .logo {
            width: 210px;
            height: 100px;
            background-color: #fff;
            a {
                img {
                    display: block;
                    margin-top: 22px;
                    margin-left: 12px;
                }
            }
        }
    }
}

.top_search_form {
    margin-left: 80px;
    margin-top: 30px;
    width: 572px;
    height: 36px;
    background: #e0e0e0;
    border-radius: 8px 8px 8px 8px;
    form {
        input {
            background: #e0e0e0;
        }
    }
    input {
        padding: 0px 16px;
        height: 36px;
        width: 388px;
        line-height: 36px;
    }
    button {
        width: 50px;
        height: 36px;
        line-height: 36px;
        background-color: #da0120;
        border: 1px solid #da0120;
        border-radius: 0 8px 8px 0;
        &::after {
            content: "";
            background-image: url(../../images/indexspriter.png);
            background-position: -1299px -270px;
            width: 14px;
            height: 14px;
            background-repeat: no-repeat;
            display: inline-block;
        }
    }
}

.top_search_form_l>ul {
    display: none;
}

.sel1 {
    width: 70px;
    height: 36px;
    padding: 0px 16px;
    font-size: 16px;
    line-height: 36px;
    font-family: $ffy;
    color: #333;
}

.sel1:hover .top_search_form_l>ul {
    display: block;
}

.user_cart {
    width: 260px;
    height: 36px;
    margin-top: 30px;
}


/* 登录 */

.user_wrap {
    box-sizing: border-box;
    padding-left: 46px;
    width: 144px;
    height: 36px;
    position: relative;
}

.user_wrap>a::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    display: block;
    width: 36px;
    height: 36px;
    background: url(../../images/indexspriter.png) -48px -854px no-repeat;
}

.user_wrap p:nth-of-type(1) {
    height: 18px;
    line-height: 18px;
    font-size: 15px;
    font-family: Arial;
    font-weight: 700;
}

.user_wrap p:nth-of-type(2) {
    position: relative;
    width: 62px;
    height: 16px;
}

.user_wrap p:nth-of-type(2) a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -2px;
    width: 9px;
    height: 5px;
    background: url(../../images/indexspriter.png) -1112px -205px no-repeat;
}


/* 购物车 */

.cart_wrap {
    width: 40px;
    height: 36px;
    margin-left: 30px;
    /* box-sizing: border-box; */
    padding-left: 46px;
    position: relative;
}

.cart_wrap p {
    /* display: inline-block; */
    width: 40px;
}

.cart_wrap p:nth-of-type(1) {
    height: 16px;
    color: #fff;
    border-radius: 8px;
    background: #da0120;
    text-align: center;
}

.cart_wrap::before {
    content: "";
    display: inline-block;
    width: 36px;
    height: 36px;
    background: url(../../images/indexspriter.png) -84px -854px no-repeat;
    position: absolute;
    top: 0px;
    left: 2px;
}


/* 头部导航栏 */

.top_nav {
    background: white;
    height: 40px;
    border-bottom: 2px solid #ef715a;
}

.all_category {
    width: 210px;
    height: 40px;
    text-indent: 20px;
    background: white;
}

.all_category>a {
    font-size: 16px;
    color: #333;
    font-weight: 700;
    line-height: 40px;
}

.mod_nav {
    width: 980px;
    height: 40px;
    margin-left: 10px;
}

.mod_nav li {
    width: 72px;
    float: left;
    line-height: 40px;
}

.mod_nav li a {
    font-size: 16px;
    color: #333;
    font-weight: 700;
}

.mod_nav li a:hover {
    color: red;
}

.mod_nav li:nth-last-of-type(1) {
    width: 104px;
}

.mod_nav li:nth-last-of-type(2) {
    width: 104px;
}


/* 中间部分 */

.main_wrap {
    height: 1000px;
}

.path {
    padding: 10px 0px;
    color: #010101;
    font-size: 12px;
    line-height: 150%;
    a {
        padding: 0 5px;
    }
}

$gboder: 1px solid #ddd;
.goods_page {
    border: 1px solid #ddd;
    margin-top: 20px;
    font-family: $ffy;
    border: $gboder;
    padding-top: 20px;
    height: 723px;
    .goods_left {
        float: left;
        width: 400px;
        cursor: pointer;
        position: relative;
        .goods_gallery {
            overflow: hidden;
            border: $gboder;
            border-left-width: 0px;
            width: 400px;
            height: 400px;
            img {
                width: 400px;
                height: 400px;
            }
            span {
                position: absolute;
                left: 0px;
                top: 0px;
                /* 尺寸需要动态获取 */
                background-color: rgba(255, 255, 255, 0.397);
                display: none;
            }
        }
        .goods_gallery_b {
            display: none;
            position: absolute;
            top: 0px;
            left: 400px;
            width: 400px;
            height: 400px;
            overflow: hidden;
            img {
                position: absolute;
                top: 0px;
                left: 0px;
                width: 800px;
                height: 800px;
            }
        }
        .goods_gallery_s {
            position: relative;
            margin: 0 auto;
            padding: 15px 20px;
            height: 92px;
            overflow: hidden;
            .active {
                border: 1px solid red;
            }
            li {
                margin: 0 5px;
                width: 60px;
                height: 60px;
                border: 1px solid #ddd;
                float: left;
                img {
                    width: 60px;
                    height: 60px;
                }
            }
        }
    }
    .goods_right {
        border-left: 1px solid #ddd;
        float: left;
        margin: 0 auto;
        padding-left: 25px;
        width: 760px;
        font-size: $ffy;
        .goods_info_tit {
            .goods_info_tit_icon {
                border-radius: 5px;
                margin-right: 10px;
                display: inline-block;
                width: 57px;
                height: 20px;
                // display: flex;
                background-color: #da0120;
                color: #fff;
                text-align: center;
                a {
                    display: inline-block;
                    height: 20px;
                    line-height: 20px;
                    border-radius: 4px;
                    padding: 0 4px;
                    color: #fff;
                }
            }
            .goods_info_tit_eng {
                font-family: $ffy;
                font-size: 20px;
                padding-right: 30px;
                line-height: 25px;
            }
        }
    }
    .title_cn {
        margin-top: 10px;
        font-family: $ffy;
        font-size: 20px;
        padding-right: 30px;
        line-height: 25px;
    }
    .change_tab {
        overflow: hidden;
        margin-bottom: 12px;
        background: #f2f2f2;
        width: 760px;
        height: 42px;
        p {
            border: none;
            border-top: 2px solid #da0120;
            background: #fff;
            color: #da0120;
            float: left;
            width: 147px;
            height: 40px;
            text-align: center;
            line-height: 40px;
            font-size: 14px;
            cursor: pointer;
        }
    }
    .property_wrap {
        background-color: #eee;
        padding: 20px 5px;
        width: 750px;
        height: 48px;
        li {
            .price_t {
                float: left;
                width: 120px;
                margin-right: 10px;
                padding-left: 19px!important;
                box-sizing: border-box;
                color: #666;
            }
            .price {
                margin-bottom: 1px;
                font-size: 24px;
                color: #da0120;
                >span {
                    display: block;
                    font-family: Arial;
                    font-weight: 700;
                }
            }
            .clearance_num {
                margin-top: 3px;
                >span {
                    @extend .price_t
                }
            }
        }
    }
}

.base_info {
    padding: 10px 0;
    font-size: 14px;
    margin-top: 12px;
    border: 1px dotted #e0e0e0;
    border-left: none;
    border-right: none;
    display: table;
    width: 100%;
    span {
        font-family: Arial;
        font-weight: 700;
        display: table-cell;
        -ms-flex: 1;
        flex: 1;
        padding-left: 20px;
        border-right: 1px dotted #e0e0e0;
    }
}

.property {
    margin-bottom: 10px
}

.clearfix::after {
    visibility: hidden;
    content: ".";
    display: block;
    height: 0;
    clear: both;
}

.detail_info {
    margin-top: 10px;
    margin-bottom: 20px;
    .detail_info_top {
        padding: 0px 20px;
        border-bottom: 1px dotted #e0e0e0;
        margin-bottom: 20px;
        .detail_info_wrap {
            .property-name {
                display: inline-block;
                width: 120px;
                height: 28px;
            }
            >a {
                color: #1377c7;
                cursor: pointer
            }
        }
    }
    .detail_info_bot {
        padding: 0px 20px;
        .property-name {
            float: left;
            margin-right: 5px;
            line-height: 28px;
            width: 120px;
            word-wrap: break-word;
            word-break: normal;
            color: #666;
        }
        .detail_info_t {
            line-height: 28px;
        }
    }
}

.attr-ul {
    li {
        padding: 0px 10px;
        float: left;
        position: relative;
        margin: 0 7px 3px 0;
        line-height: 25px;
        min-height: 25px;
        border: 1px solid #ddd;
        border-style: dashed;
        opacity: .7;
    }
}


/*采购数量*/

.property-qty {
    .minus {
        display: inline-block;
        width: 17px;
        height: 17px;
        content: "";
        background-image: url(../../images/indexspriter.png);
        background-position: -740px -548px;
        background-repeat: no-repeat;
        vertical-align: middle;
        opacity: .3;
        cursor: default;
    }
    >input {
        border: 1px solid black;
        transition: box-shadow .2s;
        color: #666;
        height: 22px;
        line-height: 22px;
        width: 70px;
        text-align: center;
    }
    .add {
        color: #333;
        display: inline-block;
        width: 17px;
        height: 17px;
        content: "";
        background-image: url(../../images/indexspriter.png);
        background-position: -1285px -485px;
        background-repeat: no-repeat;
        vertical-align: middle;
        opacity: .7;
        cursor: default;
    }
}


/*加入购物车按钮*/

.addcartwrap {
    margin-top: 30px;
    width: 723px;
    height: 85px;
    button {
        margin-right: 10px;
        float: left;
        width: 150px;
        height: 40px;
        line-height: 40px;
        padding: 0;
        margin: 15px 10px 15px 0px;
        text-align: center;
        color: #fff;
        font-size: 16px;
        background-color: #da0120;
        border-radius: 2px;
        border: 1px solid #da0120;
        box-sizing: border-box;
        font-weight: 100;
    }
}


/* dropshipping的banner部分*/

.dropshipping_banner {
    img {
        margin-top: 20px;
    }
}


/* 产品详情页*/

.goods_detail {
    p {
        display: inline-block;
        width: 56px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        text-align: center;
        border: 1px solid #ddd;
        border: 1px solid black;
        margin-right: 10px;
        padding: 0 10px;
    }
}


/* 底部帮助区域 */

.footer_help {
    height: 333px;
    padding: 60px 0px;
    background: white;
}

.footer_help_wrap {
    height: 313px;
    padding-top: 20px;
}

.footer_help_wrap dl {
    float: left;
    width: 230px;
    height: 245px;
    margin-left: 40px;
}

.footer_help_wrap dl>dt {
    font-family: Arial;
    font-weight: 700;
    font-size: 14px;
    width: 230px;
    height: 56px;
    /* text-align: center; */
    line-height: 56px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 18px;
}

.footer_help_wrap dl>dd {
    width: 230px;
    height: 34px;
}

.footer_help_wrap dl>dd a {
    display: inline-block;
    height: 30px;
    line-height: 30px;
    max-width: 100%;
    color: #999;
    font-size: 13px;
}

.joinus {
    margin-left: 40px;
}

.joinus>p {
    width: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    line-height: 30px;
    font-size: 14px;
    color: #333;
}

.register {
    padding: 10px 0px;
    text-align: center;
}

.register>a {
    padding: 5px 14px;
    background-color: #da0120;
    border: 1px solid #da0120;
    color: #fff;
}

.share {
    padding-top: 20px;
    width: 350px;
    height: 40px;
}

.share a.wx {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative;
    background: url(../../images/indexspriter.png) -1227px -796px no-repeat;
    margin-left: 60px;
}

.share a.wb {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative;
    background: url(../../images/indexspriter.png) -1027px -796px no-repeat;
}

.share a.ly {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative;
    background: url(../../images/indexspriter.png) -987px -796px no-repeat;
}

.share a.tt {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative;
    background: url(../../images/indexspriter.png) -946px -796px no-repeat;
}

.share a.zh {
    float: left;
    width: 40px;
    height: 40px;
    margin-right: 8px;
    position: relative;
    background: url(../../images/indexspriter.png) -1147px -796px no-repeat;
}


/* 底部区域 */

.footer {
    background: #f6f6f6;
    height: 281px;
}

.footer_wrap_top {
    padding-top: 70px;
    text-align: center;
}

.footer_wrap_middle {
    height: 60px;
    padding-top: 20px;
    padding-left: 90px;
}

.footer_wrap_middle span {
    font-size: 12px;
}

.friendly_link {
    margin-left: 10px;
    width: 1048px;
}

.friendly_link a {
    float: left;
    height: 20px;
    line-height: 20px;
    color: #666;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 10px;
    text-decoration: none;
    word-break: break-all;
}

.footer_wrap_bottom {
    padding-top: 10px;
}

.footer_wrap_bottom p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 14px;
    text-align: center;
    color: #333
}